package com.dony.shop.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author sundw
 * @version 1.0.0
 * @description ShopeeMerchant
 * @since 2023/10/9 1:17
 */
@Data
@TableName("shopee_merchant")
public class ShopeeMerchant {

    @TableId
    private Long merchantId;
    private Long userId;
    private Long tenantId;
    private Long mainAccountId;
    private String merchantName;
    private String defindName;
    private Boolean isCnsc;
    private Date authTime;
    private Date expireTime;
    private String requestId;
    private String merchantCurrency;
    private String merchantRegion;
    private Boolean isUpgradedCbsc;
    private String lastRefreshToken;
    private Integer sort;
    private Integer status;
    private Boolean auth;
    private String remark;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private String delFlat;

    @TableField(exist = false)
    private List<ShopeeShop> shops;
}
